package com.exam.entity;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;

@Entity
@Table(name="exam_teacher")
public class ExamTeacher implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = 7081437506847324982L;

	@Id
	@GeneratedValue(strategy=GenerationType.IDENTITY,generator = "persistenceGenerator")
	@GenericGenerator(name="persistenceGenerator",strategy = "native")
	@Column(name="exam_teacher_id",length=10)
	private Integer examTeacherId;
	
	@Column(name="exam_teacher_name",length=12)
	private String examTeacherName;
	
	@Column(name="exam_teacher_number",length=12)
	private Integer examTeacherNumber;
	
	@Column(name="exam_teacher_password",length=12)
	private String examTeacherPassword;


	public Integer getExamTeacherId() {
		return examTeacherId;
	}


	public void setExamTeacherId(Integer examTeacherId) {
		this.examTeacherId = examTeacherId;
	}


	public String getExamTeacherName() {
		return examTeacherName;
	}


	public void setExamTeacherName(String examTeacherName) {
		this.examTeacherName = examTeacherName;
	}


	public Integer getExamTeacherNumber() {
		return examTeacherNumber;
	}


	public void setExamTeacherNumber(Integer examTeacherNumber) {
		this.examTeacherNumber = examTeacherNumber;
	}


	public String getExamTeacherPassword() {
		return examTeacherPassword;
	}


	public void setExamTeacherPassword(String examTeacherPassword) {
		this.examTeacherPassword = examTeacherPassword;
	}


	public ExamTeacher(Integer examTeacherId, String examTeacherName, Integer examTeacherNumber,
			String examTeacherPassword) {
		super();
		this.examTeacherId = examTeacherId;
		this.examTeacherName = examTeacherName;
		this.examTeacherNumber = examTeacherNumber;
		this.examTeacherPassword = examTeacherPassword;
	}


	public ExamTeacher() {
		super();
	}
	
	
}
